package com.zds.zds_picture_backend;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@MapperScan("com.zds.zds_picture_backend.mapper")//这是mybatis-plus的注解，用于扫描mapper接口
@SpringBootApplication(exclude ={ ShardingSphereAutoConfiguration.class})
@EnableAsync
@EnableAspectJAutoProxy(exposeProxy = true) //开启aop注解 获取代理
public class ZdsPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZdsPictureBackendApplication.class, args);
    }

}
